/**
 * 
 */
package edu.hm.compiler.scanner.dfa.state.impl;

import edu.hm.compiler.scanner.dfa.state.AbstractState;
import edu.hm.compiler.scanner.token.ITokenClass;

/**
 * @author Saruman
 */
public class EndState extends AbstractState
{

    private final ITokenClass tokenClass;

    /**
     * @param tokenClass
     */
    public EndState( int name, ITokenClass tokenClass )
    {
        super( name );
        this.tokenClass = tokenClass;
    }

    @Override
    public ITokenClass getTokenClass()
    {
        return this.tokenClass;
    }
}
